package org.sky.cloud.common.notify;

import java.util.concurrent.atomic.AtomicLong;

public abstract class Event {

    private static final AtomicLong SEQUENCE = new AtomicLong(0);

    private final long sequence = SEQUENCE.getAndIncrement();

    public long sequence(){
        return sequence;
    }

}
